﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ProductTypeIDModify.aspx.cs" Inherits="ProductRepair_ManageRepair_ProductTypeIDModify" Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <script type="text/javascript">
  <!--
        document.onkeydown = function() {
            if (event.keyCode == 13 && event.srcElement.type == "text") {
                event.keyCode = 9;
            }
        }
   //-->
  </script>
    <div style=" text-align:center;">
        <br />
        <br />
        <br />
        <br />
        <br />
        <div style=" text-align:center;">
        <table style="width: 60%; border:solid 1px black;  margin:0 auto;">
            <tr>
                <td style=" width:40%;">
                    序列号：</td>
                <td style=" width:40%;">
                    <asp:TextBox ID="TextBox6" runat="server" TabIndex="1"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                        ControlToValidate="TextBox6" ErrorMessage="*" ValidationGroup="VGroup1"></asp:RequiredFieldValidator>
                </td>
                <td rowspan="3" style=" width:20%;">
                    <asp:Button ID="Button2" runat="server" Text="替 换" ValidationGroup="VGroup1" 
                        onclick="Button2_Click" TabIndex="3" />
                                        </td>
            </tr>
            <tr>
                <td style=" width:40%;">
                    旧的产品类型：</td>
                <td style=" width:40%;">
                    <asp:TextBox ID="TextBox1" runat="server" TabIndex="2"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="TextBox1" ErrorMessage="*" ValidationGroup="VGroup1"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style=" width:40%;">
                    新的产品类型：</td>
                <td style=" width:40%;">
                    <asp:TextBox ID="TextBox7" runat="server" TabIndex="2"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                        ControlToValidate="TextBox7" ErrorMessage="*" ValidationGroup="VGroup1"></asp:RequiredFieldValidator>
                </td>
            </tr>
            </table>     
            </div>       
        <br />
        <br />
        <div style=" text-align:center;">
        <br />
        <table style="width: 60%; border:solid 1px black;  margin:0 auto;">
            <tr>
                <td>
                    按序列号查询关联记录：</td>
                <td>
                    <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ControlToValidate="TextBox3" ErrorMessage="*" ValidationGroup="VGroup2"></asp:RequiredFieldValidator>
                </td>
                <td>
                    <asp:Button ID="Button3" runat="server" Text="查 询" ValidationGroup="VGroup2" 
                        onclick="Button3_Click" />
                </td>
            </tr>
            <tr>
                <td colspan="3">
                        <asp:GridView ID="GridView1" runat="server" BackColor="White" Width="100%" BorderColor="White"
                            BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1" GridLines="None"
                            AutoGenerateColumns="False">
                            <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
                            <Columns>
                                <asp:BoundField DataField="PackageProductSN" HeaderText="成品序列号" />
                                <asp:BoundField DataField="ProductSN" HeaderText="腔体序列号" />
                                <asp:BoundField DataField="ProductTypeID" HeaderText="产品类型" />
                                <asp:BoundField DataField="UserID" HeaderText="操作员" />
                                <asp:BoundField DataField="UnionTime" HeaderText="关联时间" />
                            </Columns>
                            <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
                            <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
                            <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
                            <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
                        </asp:GridView>
                </td>
            </tr>
        </table>        
        <br />
        <br />
        <br />   
        <br />
        <br />
    </div>

        <br />
    </div>
</asp:Content>

